﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Web;

namespace AdfsLzlTest
{
    public class CommFunc
    {
        public static string CurrentUserEmail
        {
            get
            {
                var email = ClaimsPrincipal.Current.FindFirst(ClaimTypes.Email);
                return email?.Value;
            }
        }

    }
}